#ifndef EVENTFILTER_H
#define EVENTFILTER_H

#include <qdialog.h>
#include <qlineedit.h>

class QKeyEvent;

class eventfilter : public QDialog
{
	Q_OBJECT

public:
    eventfilter(QWidget *parent = nullptr);
	~eventfilter();

protected:
	virtual void keyPressEvent(QKeyEvent * event);
	virtual bool eventFilter(QObject * o, QEvent * e);
private:
	QLineEdit* pLineEdit;
};

#endif // EVENTFILTER_H
